#ifndef _NIM_H_
#define _NIM_H_


const int N_COINS=13;
const int MAX_TAKEN=3;
const int NO_GOOD_MOVE=-1;



enum playT {human,computer};


void GivenInstructions();
void AnnouceWinner(int nCoins,playT who);
int GetUserMove(int ncoins);
bool MoveIsLegal(int ntaken,int ncoins);
int ChooseComputerMove(	int ncoins);
int FindGoodMove(int ncoins);
bool IsBadPosition(int ncoins);




#endif